.class public Lcom/zuimeia/ui/arcview/ArcFullView;
.super Landroid/view/View;
.source "ArcFullView.java"


# instance fields
.field private mExtraLength:F

.field private mIsExtraAnim:Z

.field private mLength:F

.field private mProgressBackgroundColor:I

.field private mRectF:Landroid/graphics/RectF;

.field private mStrokeWidth:F

.field private mWidth:F


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 3
    .param p1, "context"    # Landroid/content/Context;

    .prologue
    .line 33
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/zuimeia/ui/arcview/ArcFullView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 34
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 4
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;

    .prologue
    .line 37
    sget v0, Lcom/zuimeia/ui/R$attr;->ArcFullViewStyle:I

    invoke-direct {p0, p1, p2, v0}, Lcom/zuimeia/ui/arcview/ArcFullView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 38
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 7
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;
    .param p3, "defStyleAttr"    # I

    .prologue
    .line 41
    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 24
    new-instance v1, Landroid/graphics/RectF;

    invoke-direct {v1}, Landroid/graphics/RectF;-><init>()V

    iput-object v1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    .line 42
    sget-object v1, Lcom/zuimeia/ui/R$styleable;->ArcFullView:[I

    const/4 v2, 0x0

    .line 43
    invoke-virtual {p1, p2, v1, p3, v2}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;

    move-result-object v0

    .line 45
    .local v0, "attributes":Landroid/content/res/TypedArray;
    if-eqz v0, :cond_34

    .line 46
    sget v1, Lcom/zuimeia/ui/R$styleable;->ArcFullView_arc_full_view_stroke_width:I

    const/high16 v2, 0x40a00000

    .line 47
    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    .line 46
    invoke-virtual {p0, v1}, Lcom/zuimeia/ui/arcview/ArcFullView;->setStrokeWidth(F)V

    .line 48
    sget v1, Lcom/zuimeia/ui/R$styleable;->ArcFullView_arc_full_view_width:I

    const/high16 v2, 0x42480000

    .line 49
    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    .line 48
    invoke-virtual {p0, v1}, Lcom/zuimeia/ui/arcview/ArcFullView;->setWidth(F)V

    .line 50
    sget v1, Lcom/zuimeia/ui/R$styleable;->ArcFullView_arc_full_view_progress_color:I

    const/high16 v2, -0x10000

    .line 51
    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v1

    .line 50
    invoke-virtual {p0, v1}, Lcom/zuimeia/ui/arcview/ArcFullView;->setProgressBackgroundColor(I)V

    .line 54
    :cond_34
    return-void
.end method

.method static synthetic access$002(Lcom/zuimeia/ui/arcview/ArcFullView;F)F
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/arcview/ArcFullView;
    .param p1, "x1"    # F

    .prologue
    .line 23
    iput p1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    return p1
.end method

.method static synthetic access$102(Lcom/zuimeia/ui/arcview/ArcFullView;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/arcview/ArcFullView;
    .param p1, "x1"    # Z

    .prologue
    .line 23
    iput-boolean p1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mIsExtraAnim:Z

    return p1
.end method

.method static synthetic access$202(Lcom/zuimeia/ui/arcview/ArcFullView;F)F
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/arcview/ArcFullView;
    .param p1, "x1"    # F

    .prologue
    .line 23
    iput p1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mExtraLength:F

    return p1
.end method

.method private init()V
    .registers 2

    .prologue
    .line 57
    const/high16 v0, 0x42b40000

    iput v0, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    .line 58
    return-void
.end method


# virtual methods
.method public endArcAnim(Landroid/animation/AnimatorListenerAdapter;)V
    .registers 6
    .param p1, "animatorListenerAdapter"    # Landroid/animation/AnimatorListenerAdapter;

    .prologue
    .line 161
    const/4 v1, 0x2

    new-array v1, v1, [F

    fill-array-data v1, :array_30

    invoke-static {v1}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v0

    .line 162
    .local v0, "valueAnimator":Landroid/animation/ValueAnimator;
    new-instance v1, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v1}, Landroid/view/animation/LinearInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 163
    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    .line 165
    new-instance v1, Lcom/zuimeia/ui/arcview/ArcFullView$2;

    invoke-direct {v1, p0}, Lcom/zuimeia/ui/arcview/ArcFullView$2;-><init>(Lcom/zuimeia/ui/arcview/ArcFullView;)V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 173
    if-eqz p1, :cond_24

    .line 174
    invoke-virtual {v0, p1}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 176
    :cond_24
    new-instance v1, Lcom/zuimeia/ui/arcview/ArcFullView$3;

    invoke-direct {v1, p0}, Lcom/zuimeia/ui/arcview/ArcFullView$3;-><init>(Lcom/zuimeia/ui/arcview/ArcFullView;)V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 183
    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V

    .line 184
    return-void

    .line 161
    :array_30
    .array-data 4
        0x0
        0x43ac8000
    .end array-data
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .registers 21
    .param p1, "canvas"    # Landroid/graphics/Canvas;

    .prologue
    .line 70
    invoke-super/range {p0 .. p1}, Landroid/view/View;->onDraw(Landroid/graphics/Canvas;)V

    .line 71
    new-instance v6, Landroid/graphics/Paint;

    const/4 v1, 0x1

    invoke-direct {v6, v1}, Landroid/graphics/Paint;-><init>(I)V

    .line 72
    .local v6, "paint":Landroid/graphics/Paint;
    const/4 v1, 0x1

    invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 73
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mProgressBackgroundColor:I

    invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 74
    const/4 v1, 0x1

    invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 75
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mStrokeWidth:F

    invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 76
    sget-object v1, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 77
    sget-object v1, Landroid/graphics/Paint$Cap;->ROUND:Landroid/graphics/Paint$Cap;

    invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setStrokeCap(Landroid/graphics/Paint$Cap;)V

    .line 79
    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mIsExtraAnim:Z

    if-nez v1, :cond_ae

    .line 80
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x42340000

    move-object/from16 v0, p0

    iget v4, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v5, 0x40000000

    div-float/2addr v4, v5

    sub-float v3, v1, v4

    move-object/from16 v0, p0

    iget v4, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/4 v5, 0x0

    move-object/from16 v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    .line 93
    :goto_48
    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mIsExtraAnim:Z

    if-nez v1, :cond_fd

    .line 94
    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x43070000

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v9, v1, v2

    move-object/from16 v0, p0

    iget v10, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/4 v11, 0x0

    move-object/from16 v7, p1

    move-object v12, v6

    invoke-virtual/range {v7 .. v12}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    .line 108
    :goto_68
    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mIsExtraAnim:Z

    if-nez v1, :cond_14f

    .line 109
    move-object/from16 v0, p0

    iget-object v11, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x43610000

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v12, v1, v2

    move-object/from16 v0, p0

    iget v13, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/4 v14, 0x0

    move-object/from16 v10, p1

    move-object v15, v6

    invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    .line 122
    :goto_88
    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mIsExtraAnim:Z

    if-nez v1, :cond_1a1

    .line 123
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const v1, 0x439d8000

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v15, v1, v2

    move-object/from16 v0, p0

    iget v0, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    move/from16 v16, v0

    const/16 v17, 0x0

    move-object/from16 v13, p1

    move-object/from16 v18, v6

    invoke-virtual/range {v13 .. v18}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    .line 136
    :goto_ad
    return-void

    .line 82
    :cond_ae
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mExtraLength:F

    const/high16 v2, 0x42340000

    add-float/2addr v1, v2

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v3, v1, v2

    .line 83
    .local v3, "startAngleFirst":F
    const/high16 v1, 0x43b40000

    cmpl-float v1, v3, v1

    if-ltz v1, :cond_d2

    .line 84
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object/from16 v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_48

    .line 85
    :cond_d2
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    add-float/2addr v1, v3

    const/high16 v2, 0x43b40000

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_ed

    .line 86
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x43b40000

    sub-float v4, v1, v3

    const/4 v5, 0x0

    move-object/from16 v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_48

    .line 88
    :cond_ed
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    move-object/from16 v0, p0

    iget v4, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/4 v5, 0x0

    move-object/from16 v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_48

    .line 96
    .end local v3    # "startAngleFirst":F
    :cond_fd
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mExtraLength:F

    const/high16 v2, 0x43070000

    add-float/2addr v1, v2

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v9, v1, v2

    .line 98
    .local v9, "startAngleSecond":F
    const/high16 v1, 0x43b40000

    cmpl-float v1, v9, v1

    if-ltz v1, :cond_122

    .line 99
    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    move-object/from16 v7, p1

    move-object v12, v6

    invoke-virtual/range {v7 .. v12}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_68

    .line 100
    :cond_122
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    add-float/2addr v1, v9

    const/high16 v2, 0x43b40000

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_13e

    .line 101
    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x43b40000

    sub-float v10, v1, v9

    const/4 v11, 0x0

    move-object/from16 v7, p1

    move-object v12, v6

    invoke-virtual/range {v7 .. v12}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_68

    .line 103
    :cond_13e
    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    move-object/from16 v0, p0

    iget v10, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/4 v11, 0x0

    move-object/from16 v7, p1

    move-object v12, v6

    invoke-virtual/range {v7 .. v12}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_68

    .line 111
    .end local v9    # "startAngleSecond":F
    :cond_14f
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mExtraLength:F

    const/high16 v2, 0x43610000

    add-float/2addr v1, v2

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v12, v1, v2

    .line 112
    .local v12, "startAngleThird":F
    const/high16 v1, 0x43b40000

    cmpl-float v1, v12, v1

    if-ltz v1, :cond_174

    .line 113
    move-object/from16 v0, p0

    iget-object v11, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x0

    move-object/from16 v10, p1

    move-object v15, v6

    invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_88

    .line 114
    :cond_174
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    add-float/2addr v1, v12

    const/high16 v2, 0x43b40000

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_190

    .line 115
    move-object/from16 v0, p0

    iget-object v11, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x43b40000

    sub-float v13, v1, v12

    const/4 v14, 0x0

    move-object/from16 v10, p1

    move-object v15, v6

    invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_88

    .line 117
    :cond_190
    move-object/from16 v0, p0

    iget-object v11, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    move-object/from16 v0, p0

    iget v13, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/4 v14, 0x0

    move-object/from16 v10, p1

    move-object v15, v6

    invoke-virtual/range {v10 .. v15}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_88

    .line 125
    .end local v12    # "startAngleThird":F
    :cond_1a1
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mExtraLength:F

    const v2, 0x439d8000

    add-float/2addr v1, v2

    move-object/from16 v0, p0

    iget v2, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    const/high16 v4, 0x40000000

    div-float/2addr v2, v4

    sub-float v15, v1, v2

    .line 126
    .local v15, "startAngleFourth":F
    const/high16 v1, 0x43b40000

    cmpl-float v1, v15, v1

    if-ltz v1, :cond_1ca

    .line 127
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/4 v15, 0x0

    const/16 v16, 0x0

    const/16 v17, 0x0

    move-object/from16 v13, p1

    move-object/from16 v18, v6

    invoke-virtual/range {v13 .. v18}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_ad

    .line 128
    :cond_1ca
    move-object/from16 v0, p0

    iget v1, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    add-float/2addr v1, v15

    const/high16 v2, 0x43b40000

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_1e8

    .line 129
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    const/high16 v1, 0x43b40000

    sub-float v16, v1, v15

    const/16 v17, 0x0

    move-object/from16 v13, p1

    move-object/from16 v18, v6

    invoke-virtual/range {v13 .. v18}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_ad

    .line 131
    :cond_1e8
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    move/from16 v16, v0

    const/16 v17, 0x0

    move-object/from16 v13, p1

    move-object/from16 v18, v6

    invoke-virtual/range {v13 .. v18}, Landroid/graphics/Canvas;->drawArc(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V

    goto/16 :goto_ad
.end method

.method protected onMeasure(II)V
    .registers 11
    .param p1, "widthMeasureSpec"    # I
    .param p2, "heightMeasureSpec"    # I

    .prologue
    const/high16 v7, 0x40000000

    .line 62
    invoke-virtual {p0, p1, p2}, Lcom/zuimeia/ui/arcview/ArcFullView;->setMeasuredDimension(II)V

    .line 63
    iget v1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mWidth:F

    .line 64
    .local v1, "width":F
    iget v0, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mWidth:F

    .line 65
    .local v0, "height":F
    iget-object v2, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mRectF:Landroid/graphics/RectF;

    iget v3, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mStrokeWidth:F

    div-float/2addr v3, v7

    iget v4, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mStrokeWidth:F

    div-float/2addr v4, v7

    iget v5, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mStrokeWidth:F

    div-float/2addr v5, v7

    sub-float v5, v1, v5

    iget v6, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mStrokeWidth:F

    div-float/2addr v6, v7

    sub-float v6, v0, v6

    invoke-virtual {v2, v3, v4, v5, v6}, Landroid/graphics/RectF;->set(FFFF)V

    .line 66
    return-void
.end method

.method public setInVisible()V
    .registers 2

    .prologue
    .line 204
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/arcview/ArcFullView;->setVisibility(I)V

    .line 205
    return-void
.end method

.method public setLength(I)V
    .registers 3
    .param p1, "length"    # I

    .prologue
    .line 139
    int-to-float v0, p1

    iput v0, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mLength:F

    .line 140
    invoke-virtual {p0}, Lcom/zuimeia/ui/arcview/ArcFullView;->invalidate()V

    .line 141
    return-void
.end method

.method public setProgressBackgroundColor(I)V
    .registers 2
    .param p1, "color"    # I

    .prologue
    .line 192
    iput p1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mProgressBackgroundColor:I

    .line 193
    return-void
.end method

.method public setStrokeWidth(F)V
    .registers 2
    .param p1, "mStrokeWidth"    # F

    .prologue
    .line 196
    iput p1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mStrokeWidth:F

    .line 197
    return-void
.end method

.method public setVisible()V
    .registers 2

    .prologue
    const/4 v0, 0x0

    .line 187
    iput-boolean v0, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mIsExtraAnim:Z

    .line 188
    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/arcview/ArcFullView;->setVisibility(I)V

    .line 189
    return-void
.end method

.method public setWidth(F)V
    .registers 2
    .param p1, "mWidth"    # F

    .prologue
    .line 200
    iput p1, p0, Lcom/zuimeia/ui/arcview/ArcFullView;->mWidth:F

    .line 201
    return-void
.end method

.method public startArcAnim(Landroid/animation/AnimatorListenerAdapter;)V
    .registers 6
    .param p1, "animatorListenerAdapter"    # Landroid/animation/AnimatorListenerAdapter;

    .prologue
    .line 144
    const/4 v1, 0x2

    new-array v1, v1, [F

    fill-array-data v1, :array_2a

    invoke-static {v1}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v0

    .line 145
    .local v0, "valueAnimator":Landroid/animation/ValueAnimator;
    new-instance v1, Landroid/view/animation/OvershootInterpolator;

    const/high16 v2, 0x40a00000

    invoke-direct {v1, v2}, Landroid/view/animation/OvershootInterpolator;-><init>(F)V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 146
    const-wide/16 v2, 0x258

    invoke-virtual {v0, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    .line 147
    if-eqz p1, :cond_1e

    .line 148
    invoke-virtual {v0, p1}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 150
    :cond_1e
    new-instance v1, Lcom/zuimeia/ui/arcview/ArcFullView$1;

    invoke-direct {v1, p0}, Lcom/zuimeia/ui/arcview/ArcFullView$1;-><init>(Lcom/zuimeia/ui/arcview/ArcFullView;)V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 157
    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V

    .line 158
    return-void

    .line 144
    :array_2a
    .array-data 4
        0x42b40000
        0x42340000
    .end array-data
.end method
